#!/bin/sh

sshconfig=/etc/ssh/sshd_config
sshserver=/etc/init.d/sshd

sed -r -i "s/PermitRootLogin no/PermitRootLogin yes/g" $sshconfig > /dev/null 2>&1
sed -r -i "s/AllowTcpForwarding no/AllowTcpForwarding yes/g" $sshconfig > /dev/null 2>&1

$sshserver reload > /dev/null 2>&1
